package cn.wh.user.service;

import cn.wh.basic.dto.RegisterDto;
import cn.wh.user.domain.User;
import cn.wh.basic.service.IBaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaosang
 * @since 2022-06-16
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 手机号注册
     * @param dto
     */
    void phoneRegister(RegisterDto dto);

    /**
     * 通过LoginInfoId查用户
     * @param id
     * @return
     */
    User loadByLoginInfo(Long id);
}
